import request from "./request";

// 请求首页数据
export const GetHomeData = () => request.get("/index/index")

// 请求搜索窗口数据
export const GetSearchPopupData = () => request.get("/search/index")

// 请求实时搜索功能数据
export const GetSearchTipsListData = (params) => request.get("/search/helper", { params })

// 请求搜索框商品搜索数据
export const GetCommodityListData = (params) => request.get("/goods/list", { params })


// 请求专题数据
export const GetTopicData = (params) => request.get('/topic/list', { params })


// 请求分类数据
export const GetCategoryData = () => request.get('/catalog/index')
